<?php

namespace App\Models;


/**
 * Class Refund
 * @property string refund_id
 * @property integer purchase_id
 * @property string object
 * @property string order_no
 * @property string amount
 * @property string created
 * @property boolean succeed
 * @property string status
 * @property string time_succeed
 * @property string description
 * @property string failure_code
 * @property string failure_msg
 * @property string charge
 * @property string charge_order_no
 * @property string transaction_no
 * @property Purchase purchase
 */
class Refund extends ApplicationModel
{
    protected $guarded = [];

    public function purchase()
    {
        return $this->belongsTo(Purchase::class);
    }
}
